<?php
/**
 * Created by PhpStorm.
 * User: zhang
 * Date: 2018/5/6
 * Time: 16:42
 */
namespace app\alipay\controller;

use app\alipay\model\ConsumeManager;
use app\common\model\Base;

class Test extends Base{

    private $consumeManager;
    public function __construct()
    {
        $this->consumeManager = new ConsumeManager();
    }
    /*
     * oVlguqTtPOZ0  uGmeJXcVhfZg
     */
    public function index(){
        echoJson(1,$this->consumeManager->updateConsumeRecord("oVlguqTtPOZ0",100));
    }
}